You must specify at least one button for the dialog before trying to show it.